package cn.zhouchao.org.domain;

import cn.zhouchao.basic.domain.BaseDomain;
import cn.zhouchao.system.domain.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 1;
    private Long departmentId;

    // 后面学了登陆再搞
    private Long shopId;
    private Long logininfoId;
    // 二次确认密码
    private String comfirmPassword;
    // 部门名称
    private String deptName;
    // 角色
    private List<Long> roles;
}
